package com.njym.payment.alipay.properties;

import javax.validation.constraints.NotBlank;

/**
 * @program: RefundParams
 * @description: 支付宝退款请求参数
 * @author: yh
 * @create: 2018-08-29 21:34
 **/

public class RefundParams {
    @NotBlank(message = "orgId不能为空")
    private String orgId;

    @NotBlank(message = "channelId不能为空")
    private String channelId;

    @NotBlank(message = "outTradeNo不能为空")
    private String outTradeNo;

    @NotBlank(message = "outRefundNo不能为空")
    private String outRefundNo;

    @NotBlank(message = "totalAmount(退款金额)不能为空")
    private String refundAmount;


    private String refundReason;

    @NotBlank(message = "operatorId不能为空")
    private String operatorId;

    @NotBlank(message = "operatorName不能为空")
    private String operatorName;

    public String getOrgId() {
        return orgId;
    }

    public void setOrgId(String orgId) {
        this.orgId = orgId;
    }

    public String getChannelId() {
        return channelId;
    }

    public void setChannelId(String channelId) {
        this.channelId = channelId;
    }

    public String getOutTradeNo() {
        return outTradeNo;
    }

    public void setOutTradeNo(String outTradeNo) {
        this.outTradeNo = outTradeNo;
    }

    public String getOutRefundNo() {
        return outRefundNo;
    }

    public void setOutRefundNo(String outRefundNo) {
        this.outRefundNo = outRefundNo;
    }

    public String getRefundReason() {
        return refundReason;
    }

    public void setRefundReason(String refundReason) {
        this.refundReason = refundReason;
    }

    public String getOperatorId() {
        return operatorId;
    }

    public void setOperatorId(String operatorId) {
        this.operatorId = operatorId;
    }

    public String getOperatorName() {
        return operatorName;
    }

    public void setOperatorName(String operatorName) {
        this.operatorName = operatorName;
    }

    public String getRefundAmount() {
        return refundAmount;
    }

    public void setRefundAmount(String refundAmount) {
        this.refundAmount = refundAmount;
    }
}
